package com.example.service;

import com.example.entity.FacilityClassify;
import com.example.entity.Page.PageRequest;
import com.example.result.CommonResult;

/**
 * @author: tobed
 * @date: 2022/11/14
 * @time: 10:14
 */
public interface FacilityClassifyService {

    /*设备分类全查*/
    CommonResult list(String facilityClassifyName, PageRequest pageRequest);

    /*状态修改*/
    CommonResult updateStatus(Integer id,int status);

    /*修改啊*/
    CommonResult update(Integer id, String facilityClassifyName);

    /*删除分类*/
    CommonResult remove(Integer id);

    /*添加分类信息*/
    CommonResult create(FacilityClassify facilityClassify);
}
